home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / PRGMANIA / BFED.10 / ONEPAGE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-26  |  1.4 KB  |  51 lines

  1. /*********************************************
  2.     file: onepage.h
  3.     utility: header file of onepage.c
  4.     date: 16 dec 96
  5.     author: C.Moreau
  6.     modifications:
  7.     comments: 
  8. *********************************************/
  9.  
  10. #ifndef _ONEPAGE_H
  11. #define _ONEPAGE_H
  12.  
  13. /*********************************************
  14.     includes
  15. *********************************************/
  16. #ifdef __PUREC__
  17. #include <aes.h>
  18. #else
  19. #include <aesbind.h>
  20. #endif
  21.  
  22. #include "wind.h"
  23.  
  24. /*********************************************
  25.     defines
  26. *********************************************/
  27. #define BLANK ' '
  28. #define DOUBLE_BLANK    "  "
  29.  
  30. /*********************************************
  31.     types definitions
  32. *********************************************/
  33.  
  34. /*********************************************
  35.     globals variables declarations
  36. *********************************************/
  37.     /* haxedecimal string and ascii string */
  38. extern unsigned char hexa_str[80], ascii_str[80];
  39.     /* hexa to ascii conversion table */
  40. extern unsigned char table[600];
  41.  
  42. /*********************************************
  43.     globals functions declarations
  44. *********************************************/
  45. extern void one_page(windowptr thewin, GRECT *r1);
  46. extern unsigned getbyte(windowptr thewin,long pos);
  47. extern void putbyte(windowptr    thewin,long    pos, long lnum);
  48. extern void one_line2(windowptr    thewin,long         pos);
  49. extern void set_table(void);
  50.  
  51. #endif